//
//  UIColor+UIColor_Extension.m
//  乐账
//
//  Created by 谢毅 on 17/1/17.
//  Copyright © 2017年 xieyi. All rights reserved.
//

#import "UIColor+UIColor_Extension.h"

@implementation UIColor (UIColor_Extension)


+ (UIColor *)colorWithRGB:(NSInteger)red green:(NSInteger)green blue:(NSInteger)blue alpha:(CGFloat)alpha{
    
    CGFloat r = red/255.0;
    CGFloat g = green/255.0;
    CGFloat b = blue /255.0;
    
    UIColor *color = [UIColor colorWithRed:r green:g blue:b alpha:alpha];
    return color;
}
@end
